package com.hehe.conversion.hehemiddleware.model.req.old;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

@Data
@XmlAccessorType(XmlAccessType.FIELD) // 告诉JAXB只使用字段进行XML绑定
public class ReqServiceHeader {
    @XmlElement(name = "service_sn")
    private String serviceSn;

    @XmlElement(name = "service_id")
    private String serviceId;

    @XmlElement(name = "branch_id")
    private String branchId;

    @XmlElement(name = "requester_id")
    private String requesterId;

    @XmlElement(name = "channel_id")
    private String channelId;

    @XmlElement(name = "version_id")
    private String versionId;

    @XmlElement(name = "service_time")
    private String serviceTime;

    @XmlElement(name = "appKey")
    private String appKey;

    @XmlElement(name = "pswd")
    private String pswd;
}
